package com.linshengjian.snowball.finance.dao;

import com.linshengjian.snowball.core.BaseDao;
import com.linshengjian.snowball.finance.entity.SavingsRecordEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface SavingsRecordDao extends BaseDao<SavingsRecordEntity, Long> {
    Page<SavingsRecordEntity> findBySavings_Id(Long savingsId, Pageable pageable);
    List<SavingsRecordEntity> findBySavings_Id(Long savingsId);
}
